<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>作业4</title>
</head>
<body>
<script>
    const arr = new Array(6);
    arr.push(1,2,3,4,5);
    for (let item of arr) {
        console.log(item);
    }
</script>
</body>
</html>